package com.blockmeta.bbs.minemodule.pojo;

import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by author on 2018/1/3.
 */

public class BBSLatestPOJO {

    private List<ListBean> list;

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements MultiItemEntity {
        public boolean isShow() {
            return isShow;
        }

        public void setShow(boolean show) {
            isShow = show;
        }

        /**
         * fid : 2
         * tid : 126264
         * title : 【赌博赢了就跑，比特币买了就囤】永远赢不光别人的钱，永远买不到最低价格的比特币
         * authorid : 33972
         * author : yuli7375
         * lastpost : 1516616354
         * lastposter : outwin
         * getViews : 154
         * replies : 3
         * displayorder : 0
         * post_date : 1516613857
         * type : 1
         * content : 本帖最后由yuli7375于2018-1-2217:56编辑这几天论坛最怕的就是我的囤币论我从比特币2690元开始唱多，开始鼓吹囤币历史会证明我是对的囤币就是提币囤币就是提币囤币就是提币提币，制作钱包我有教程8btc.com/forum.php?mod=viewthread&amp;tid=83435&amp;mobile=yes记住，论坛有的人写帖子说他赚了多少多少，塌马的输光后他怎么不说了还有庄家请来的软文写手，分析师，都不要相信死死囤币笨蛋囤币傻乎乎囤币最高明神同步神配合，文件，谣言，所有的一切的一切都是为了你的币，为了让你炒比特币，不要炒币不要炒币不要炒币你永远炒输给庄家的，庄家巴不得你炒币，庄家不怕你赢钱，怕你赢钱了就跑，庄家不怕你买币，怕你买了就囤我小时候，小赌博，赢一点钱马上跑，买吃买喝的，逢赌必赢你永远都赢不光别人的钱，你永远都买不到最低价的币，就算庄家也一样，就算中本聪也一样比特币一元的时候有人说贵，十元的时候有人说贵，一百元的时候有人说贵，一千元的时候有人说贵，一万元的时候有人说贵，反正比特币永远都有人说贵我觉得比特币在三年内的价格都会将来的价格的山脚下，你买了囤了，永远赢你炒币永远输从2014年开始至少有95%的大户，大v下车了，他们有的几千个比特币，有的小万个比特币，一千几百个的更多，他们就是炒币，所以他们下车，所以他们享受不到比特币的盛宴我是年纪不大，但我却是老赌徒，从小赌到大，深知赢了就跑的道理比特币数量你比庄家少，炒币肯定输消息比庄家不灵通，炒币肯定输庄家有神同步，散户炒币肯定输庄家有神配合，散户炒币肯定输还有更不要炒山寨币，不要炒分叉币，不要爱西欧，那是别人要你钱，要你命的圈套例子8btc.com/forum.php?mod=viewthread&amp;tid=126159&amp;mobile=yes
         * post_date_format : 2018-01-22 17:37
         * author_info : {"mPostName":"33972","name":"yuli7375","desc":"","avatar":"http://8btc.com/uc_server/images/noavatar_middle.gif"}
         * category : {"name":"比特币论坛","threads":"30894","posts":"422775","mPostName":"2","link":"/forum-2-1.html"}
         *
         */
        public static final int Head = 0;
        public static final int Body = 1;

        private boolean isShow = false;
        private int fid;
        private int tid;
        private String title;
        private String authorid;
        private String author;
        private String lastpost;
        private String lastposter;
        private String views;
        private String replies;
        private String displayorder;
        private String post_date;
        private String type;
        private String digest;
        private String content;
        private String post_date_format;
        private AuthorInfoBean author_info;
        private CategoryBean category;
        private boolean isSelected;
        private String attachment;
        private String idtype;
        private String id;
        private String url;
        private String post_id;

        public String getPost_id() {
            return post_id;
        }

        public void setPost_id(String post_id) {
            this.post_id = post_id;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getPost_name() {
            return post_name;
        }

        public void setPost_name(String post_name) {
            this.post_name = post_name;
        }

        @SerializedName("postname")
        private String post_name;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getIdtype() {
            return idtype;
        }

        public void setIdtype(String idtype) {
            this.idtype = idtype;
        }

        public ActivityBean getActivity() {
            return activity;
        }

        public void setActivity(ActivityBean activity) {
            this.activity = activity;
        }

        private ActivityBean activity;
        public static class ActivityBean {
            /**
             * tid : 159387
             * uid : 6032
             * aid : 287900
             * cost : 0
             * starttimefrom : 1524805200
             * starttimeto : 1524818400
             * place : 杭州上城区湖滨路28号凯悦酒店
             * class : 会议展览
             * gender : 0
             * number : 300
             * applynumber : 118
             * expiration :
             * ufield : a:2:{s:9:"userfield";a:4:{i:0;s:8:"realname";i:1;s:6:"mobile";i:2;s:7:"company";i:3;s:8:"position";}s:8:"extfield";a:0:{}}
             * credit : 0
             * guest :
             * extrafield : a:1:{s:9:"applytype";s:1:"1";}
             * thumb : http://8btc.com/data/attachment/forum/201804/20/143249cow4oue5400wjud6.png
             * attachurl : http://8btc.com/data/attachment/forum/201804/20/143249cow4oue5400wjud6.png
             * width : 2000
             */

            private int tid;
            private String uid;
            private String aid;
            private String cost;
            private String starttimefrom;
            private String starttimeto;
            private String place;
            @SerializedName("class")
            private String classX;
            private String gender;
            private String number;
            private String applynumber;
            private String expiration;
            private String ufield;
            private String credit;
            private String guest;
            private String extrafield;
            private String thumb;
            private String attachurl;
            private String width;

            public int getTid() {
                return tid;
            }

            public void setTid(int tid) {
                this.tid = tid;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getAid() {
                return aid;
            }

            public void setAid(String aid) {
                this.aid = aid;
            }

            public String getCost() {
                return cost;
            }

            public void setCost(String cost) {
                this.cost = cost;
            }

            public String getStarttimefrom() {
                return starttimefrom;
            }

            public void setStarttimefrom(String starttimefrom) {
                this.starttimefrom = starttimefrom;
            }

            public String getStarttimeto() {
                return starttimeto;
            }

            public void setStarttimeto(String starttimeto) {
                this.starttimeto = starttimeto;
            }

            public String getPlace() {
                return place;
            }

            public void setPlace(String place) {
                this.place = place;
            }

            public String getClassX() {
                return classX;
            }

            public void setClassX(String classX) {
                this.classX = classX;
            }

            public String getGender() {
                return gender;
            }

            public void setGender(String gender) {
                this.gender = gender;
            }

            public String getNumber() {
                return number;
            }

            public void setNumber(String number) {
                this.number = number;
            }

            public String getApplynumber() {
                return applynumber;
            }

            public void setApplynumber(String applynumber) {
                this.applynumber = applynumber;
            }

            public String getExpiration() {
                return expiration;
            }

            public void setExpiration(String expiration) {
                this.expiration = expiration;
            }

            public String getUfield() {
                return ufield;
            }

            public void setUfield(String ufield) {
                this.ufield = ufield;
            }

            public String getCredit() {
                return credit;
            }

            public void setCredit(String credit) {
                this.credit = credit;
            }

            public String getGuest() {
                return guest;
            }

            public void setGuest(String guest) {
                this.guest = guest;
            }

            public String getExtrafield() {
                return extrafield;
            }

            public void setExtrafield(String extrafield) {
                this.extrafield = extrafield;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public String getAttachurl() {
                return attachurl;
            }

            public void setAttachurl(String attachurl) {
                this.attachurl = attachurl;
            }

            public String getWidth() {
                return width;
            }

            public void setWidth(String width) {
                this.width = width;
            }
        }

        public String getAttachment() {
            return attachment;
        }

        public void setAttachment(String attachment) {
            this.attachment = attachment;
        }

        @Override
        public int getItemType() {
            if (displayorder.equals("0")) {
                return Body;
            }
            return Head;
        }

        public String getDigest() {
            return digest;
        }

        public void setDigest(String digest) {
            this.digest = digest;
        }


        public boolean isSelected() {
            return isSelected;
        }

        public void setSelected(boolean selected) {
            isSelected = selected;
        }

        public int getFid() {
            return fid;
        }

        public void setFid(int fid) {
            this.fid = fid;
        }

        public int getTid() {
            return tid;
        }

        public void setTid(int tid) {
            this.tid = tid;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getAuthorid() {
            return authorid;
        }

        public void setAuthorid(String authorid) {
            this.authorid = authorid;
        }

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public String getLastpost() {
            return lastpost;
        }

        public void setLastpost(String lastpost) {
            this.lastpost = lastpost;
        }

        public String getLastposter() {
            return lastposter;
        }

        public void setLastposter(String lastposter) {
            this.lastposter = lastposter;
        }

        public String getViews() {
            return views;
        }

        public void setViews(String views) {
            this.views = views;
        }

        public String getReplies() {
            return replies;
        }

        public void setReplies(String replies) {
            this.replies = replies;
        }

        public String getDisplayorder() {
            return displayorder;
        }

        public void setDisplayorder(String displayorder) {
            this.displayorder = displayorder;
        }

        public String getPost_date() {
            return post_date;
        }

        public void setPost_date(String post_date) {
            this.post_date = post_date;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getPost_date_format() {
            return post_date_format;
        }

        public void setPost_date_format(String post_date_format) {
            this.post_date_format = post_date_format;
        }

        public AuthorInfoBean getAuthor_info() {
            return author_info;
        }

        public void setAuthor_info(AuthorInfoBean author_info) {
            this.author_info = author_info;
        }

        public CategoryBean getCategory() {
            return category;
        }

        public void setCategory(CategoryBean category) {
            this.category = category;
        }


        public static class AuthorInfoBean {
            /**
             * mPostName : 33972
             * name : yuli7375
             * desc :
             * avatar : http://8btc.com/uc_server/images/noavatar_middle.gif
             */

            private String id;
            private String name;
            private String desc;
            private String avatar;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }
        }

        public static class CategoryBean {
            /**
             * name : 比特币论坛
             * threads : 30894
             * posts : 422775
             * mPostName : 2
             * link : /forum-2-1.html
             */

            private String name;
            private String threads;
            private String posts;
            private String id;
            private String link;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getThreads() {
                return threads;
            }

            public void setThreads(String threads) {
                this.threads = threads;
            }

            public String getPosts() {
                return posts;
            }

            public void setPosts(String posts) {
                this.posts = posts;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getLink() {
                return link;
            }

            public void setLink(String link) {
                this.link = link;
            }
        }
    }
}
